package com.nova.bluetooth.adapter;

import androidx.annotation.NonNull;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.dido.fastblelib.data.BleDevice;
import com.nova.bluetooth.R;
import com.nova.bluetooth.bean.DeviceConfigBean;

public class ScanningAdapter extends BaseQuickAdapter<BleDevice, BaseViewHolder> {


    public ScanningAdapter() {
        super(R.layout.item_scanning);
    }

    @Override
    protected void convert(@NonNull BaseViewHolder baseViewHolder, BleDevice s) {
        baseViewHolder.setText(R.id.tv_device_name, s.getName());
        baseViewHolder.setText(R.id.tv_device_ble_mac, s.getMac());
    }
}
